SET(LUA_KERNEL_DIR							LuaKernel)


if(${UNIX})
SET(LIBLUA				Lua)
else(${UNIX})
SET(LIBLUA				libLua)
endif(${UNIX})

add_library(${LIBLUA} 						${LUA_KERNEL_DIR}/ldo.c
											${LUA_KERNEL_DIR}/lstate.c
											${LUA_KERNEL_DIR}/llex.c
											${LUA_KERNEL_DIR}/lbitlib.c
											${LUA_KERNEL_DIR}/ldebug.c
											${LUA_KERNEL_DIR}/lgc.c
											${LUA_KERNEL_DIR}/lapi.c
											${LUA_KERNEL_DIR}/lauxlib.c
											${LUA_KERNEL_DIR}/lbaselib.c
											${LUA_KERNEL_DIR}/lcode.c
											${LUA_KERNEL_DIR}/lcorolib.c
											${LUA_KERNEL_DIR}/lctype.c
											${LUA_KERNEL_DIR}/ldblib.c
											${LUA_KERNEL_DIR}/ldump.c
											${LUA_KERNEL_DIR}/lfunc.c
											${LUA_KERNEL_DIR}/linit.c
											${LUA_KERNEL_DIR}/liolib.c
											${LUA_KERNEL_DIR}/lmathlib.c
											${LUA_KERNEL_DIR}/lmem.c
											${LUA_KERNEL_DIR}/loadlib.c
											${LUA_KERNEL_DIR}/lobject.c
											${LUA_KERNEL_DIR}/lopcodes.c
											${LUA_KERNEL_DIR}/loslib.c
											${LUA_KERNEL_DIR}/lparser.c
											${LUA_KERNEL_DIR}/lstring.c
											${LUA_KERNEL_DIR}/lstrlib.c
											${LUA_KERNEL_DIR}/ltable.c
											${LUA_KERNEL_DIR}/ltablib.c
											${LUA_KERNEL_DIR}/ltm.c
											${LUA_KERNEL_DIR}/lua.c
											${LUA_KERNEL_DIR}/lundump.c
											${LUA_KERNEL_DIR}/lvm.c
											${LUA_KERNEL_DIR}/lzio.c)
